<%@ Page Language="C#" Theme="Defaultsys" AutoEventWireup="true" CodeFile="UserLog.aspx.cs"
    Inherits="UserLog" Title="Rapport Plan System - User log" MasterPageFile="~/MasterPage.master" %>

<%@ MasterType VirtualPath="~/MasterPage.master" %>
<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1">
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td class="contTable">
                <asp:GridView ID="grdUserLog" runat="server" AutoGenerateColumns="false" AllowPaging="true"
                    Width="100%" SkinID="gvGrid" OnPageIndexChanging="grdUserLog_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField HeaderText="ID" 
                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="3%">
                            <ItemTemplate>
                                <%# Container.DataItemIndex + 1 %>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="User" DataField="ConnectName" SortExpression="ConnectName"
                            HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"/>
                        <asp:BoundField HeaderText="Action" DataField="Action" SortExpression="Action" 
                            HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"/>
                        <asp:BoundField HeaderText="Time" DataField="Date" SortExpression="Date"
                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
